﻿using Microsoft.AspNetCore.Authorization;

namespace _13Net8AspNetCore_AuthorizationAuthentication.Authrizes
{
    public class PassWordAuthorizationReuirement: IAuthorizationRequirement
    {
        public String RequiredPassword { get; set; }
        public PassWordAuthorizationReuirement(String requiredPassword)
        {
            RequiredPassword = requiredPassword;
        }
    }
}
